

import UIKit

//MARK   全局常用常量
//全局背景背景颜色
let  GlobalGBColor = UIColor.whiteColor()
//设置动画时间
let animationCurtation = 0.5
//屏幕的宽
let ScreenW = UIScreen.mainScreen().bounds.width
//屏幕的高
let ScreenH = UIScreen.mainScreen().bounds.height
//设置调试打印
func HDPrint (items: Any, file:String =  __FILE__ , line :Int = __LINE__ , function :String = __FUNCTION__  ){
    #if DEBUG
        
    print( (file as NSString).lastPathComponent  +  ",[\(line)]行,方法名称 : "  + function + "输出:\(items)")
        
    #endif
    
}

//设置tabBarItem的数量
let  HDTabBarCount = 5
//新特性的图片数量
let NewFeatureCount = 4


//MRAK  -授权相关
//加载授权登陆界面的url的地址
let OauthUrl  = "https://api.weibo.com/oauth2/authorize"
//请求应用时分配的AppKey
let client_id = "2462969701"
//授权回调的地址
let redirect_uri = "http://www.baidu.com/"
//请求类型
let grant_type = "authorization_code"
//申请应用时分配的AppSecret
let client_secret = "32e36d4fe656e72f2801723256f5e45b"
//accessToken请求地址
let accessTokenURLString = "https://api.weibo.com/oauth2/access_token"
//账号的归档的解档路径
let accountPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true).last!.stringByAppendingString("/account.plist")



//MARK -字体大小
//常用字体大小
let HDNormalLabelFontSize:CGFloat = 14
//欢迎界面label的字体大小
let HDWelcomeLabelFontSize: CGFloat =  14
//主页cell用户信息字体大小
let  HDHomeNameLabelFontSize:CGFloat = 14
let  HDHomeTimeLabelFontSize: CGFloat  = 9
let  HDHomeSourceLabelFontSize: CGFloat  = 9
let  HDHomeContentLabelFontSzie: CGFloat  = 14
let  HDBottomFontSize:CGFloat = 14
//转发微博字体
let  HDRetweedFontSize:CGFloat = 14

//MARK   -主页cell相关
//主页cell间距
let cellMargin:CGFloat = 8
//cell bottomView 的高度
let  HDbottomViewHeight:CGFloat = 37
//bottomView与originView分割线
let  lineMargin:CGFloat = 1

//cell originView  的iconView的大小
let  iconViewWidth = 35
let iconViewHeight = 35




